package org.xyl.context;

/**
 * 上下文融合结果
 */
public class FusionResult {
    private String userQuery;
    private SessionContext sessionContext;
    private BusinessEntityContext entityContext;
    private UserRoleContext roleContext;
    private RuntimeContext runtimeContext;
    private KnowledgeContext knowledgeContext;
    private UserIntent intent;
    
    public FusionResult(String userQuery, SessionContext sessionContext, 
                      BusinessEntityContext entityContext, UserRoleContext roleContext,
                      RuntimeContext runtimeContext, KnowledgeContext knowledgeContext,
                      UserIntent intent) {
        this.userQuery = userQuery;
        this.sessionContext = sessionContext;
        this.entityContext = entityContext;
        this.roleContext = roleContext;
        this.runtimeContext = runtimeContext;
        this.knowledgeContext = knowledgeContext;
        this.intent = intent;
    }
    
    public String getUserQuery() {
        return userQuery;
    }
    
    public SessionContext getSessionContext() {
        return sessionContext;
    }
    
    public BusinessEntityContext getEntityContext() {
        return entityContext;
    }
    
    public UserRoleContext getRoleContext() {
        return roleContext;
    }
    
    public RuntimeContext getRuntimeContext() {
        return runtimeContext;
    }
    
    public KnowledgeContext getKnowledgeContext() {
        return knowledgeContext;
    }
    
    public UserIntent getIntent() {
        return intent;
    }
}